Skip to content

Instantly share code, notes, and snippets.

/etc/apt/preferences.d/systemd.pref

Package: systemd*
Pin: release *
Pin-Priority: -1

apt-get --allow-remove-essential remove -yy init

apt-get install -yy runit-init

OSX

Shell scripts to speed up your mac boot time, accelerate loading, and prevent unnecessary throttling.

macOS can be heavily modified using the defaults command. In fact, almost every option is accessible via defaults.

A great way to see what ticking and unticking a box in the Settings App is by using:

defaults read > defaults.pre.txt
  • git config --global user.name "Username"
  • git config --global user.email "Email"
  • git config --global credential.helper cache
  • git config --global credential.helper 'cache --timeout=3600'